<template name="skeleton">
  <view class="sk-container">
    <scroll-view
      enhanced="true"
      scroll-with-animation="true"
      scroll-y="true"
      class="viewport"
      id="scrollView"
      enable-back-to-top="true"
    >
      <view
        class="goods anchor"
        data-anchor-index="0"
        style="scroll-snap-align: none"
      >
        <view class="preview">
          <swiper circular="true" current="0" autoplay="false">
            <swiper-item
              style="
                position: absolute;
                width: 100%;
                height: 100%;
                transform: translate(0%, 0px) translateZ(0px);
              "
            >
              <image class="sk-image"></image>
            </swiper-item>
          </swiper>
          <view class="indicator">
            <text class="current sk-transparent sk-opacity">1</text>
            <text class="split sk-transparent sk-opacity">/</text>
            <text class="total sk-transparent sk-opacity">5</text>
          </view>
        </view>
        <view class="meta">
          <view class="price">
            <text class="symbol sk-transparent sk-opacity">¥</text>
            <text class="number sk-transparent sk-text-18-7500-642 sk-text"
              >1499.00</text
            >
          </view>
          <view class="brand">
            <image class="sk-image"></image>
          </view>
          <view class="name ellipsis sk-transparent sk-text-14-2857-824 sk-text"
            >飞天53%vol500ml贵州茅台酒（带杯）</view
          >
          <view class="remarks sk-transparent sk-text-0-0000-14 sk-text"
            >茅台飘香，正品溯源app</view
          >
        </view>
        <view class="related">
          <view class="item arrow sk-pseudo sk-pseudo-circle">
            <text class="label sk-transparent sk-text-18-7500-213 sk-text"
              >选择</text
            >
            <text
              class="text ellipsis sk-transparent sk-text-18-7500-608 sk-text"
              >白色 红外体温计 1件</text
            >
          </view>
          <view class="item arrow sk-pseudo sk-pseudo-circle">
            <text class="label sk-transparent sk-text-18-7500-412 sk-text"
              >送至</text
            >
            <text
              class="text ellipsis sk-transparent sk-text-18-7500-65 sk-text"
              >北京市顺义区京顺路9号黑马程序员</text
            >
          </view>
          <view class="item arrow sk-pseudo sk-pseudo-circle">
            <text class="label sk-transparent sk-text-18-7500-160 sk-text"
              >服务</text
            >
            <text
              class="text ellipsis sk-transparent sk-text-18-7500-704 sk-text"
              >无忧退 快速退款 免费包邮</text
            >
          </view>
        </view>
      </view>
      <view
        class="comments panel anchor"
        data-anchor-index="1"
        style="scroll-snap-align: none"
      >
        <view class="title arrow sk-pseudo sk-pseudo-circle">
          <text class="sk-transparent sk-text-0-0000-508 sk-text">评价</text>
        </view>
      </view>
    </scroll-view>
    <view class="toolbar">
      <view class="icons">
        <button
          class="collect sk-transparent sk-button sk-pseudo sk-pseudo-circle"
        >
          <text class="icon-heart sk-pseudo sk-pseudo-circle"></text>收藏
        </button>
        <button
          class="contact sk-transparent sk-button sk-pseudo sk-pseudo-circle"
          open-type="contact"
        >
          <text class="icon-handset sk-pseudo sk-pseudo-circle"></text>客服
        </button>
        <button
          class="cart sk-transparent sk-button sk-pseudo sk-pseudo-circle"
        >
          <text class="icon-cart sk-pseudo sk-pseudo-circle"></text>购物车
        </button>
      </view>
      <view class="buttons">
        <view
          class="addcart sk-transparent sk-text-31-6667-371 sk-text"
          data-button-type="cart"
          style="background-position-x: 50%"
        >
          加入购物车
        </view>
        <view
          class="payment sk-transparent sk-text-31-6667-460 sk-text"
          data-button-type="payment"
          style="background-position-x: 50%"
        >
          立即购买
        </view>
      </view>
    </view>
  </view>
</template>

<style scoped>
.sk-transparent {
  color: transparent !important;
}
.sk-opacity {
  opacity: 0 !important;
}
.sk-text-18-7500-642 {
  background-image: linear-gradient(
    transparent 18.75%,
    #eeeeee 0%,
    #eeeeee 81.25%,
    transparent 0%
  ) !important;
  background-size: 100% 86.25rpx;
  position: relative !important;
}
.sk-text {
  background-origin: content-box !important;
  background-clip: content-box !important;
  background-color: transparent !important;
  color: transparent !important;
  background-repeat: repeat-y !important;
}
.sk-text-14-2857-824 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 42.6563rpx;
  position: relative !important;
}
.sk-text-0-0000-14 {
  background-image: linear-gradient(
    transparent 0%,
    #eeeeee 0%,
    #eeeeee 100%,
    transparent 0%
  ) !important;
  background-size: 100% 23.4375rpx;
  position: relative !important;
}
.sk-text-18-7500-213 {
  background-image: linear-gradient(
    transparent 18.75%,
    #eeeeee 0%,
    #eeeeee 81.25%,
    transparent 0%
  ) !important;
  background-size: 100% 41.25rpx;
  position: relative !important;
}
.sk-text-18-7500-608 {
  background-image: linear-gradient(
    transparent 18.75%,
    #eeeeee 0%,
    #eeeeee 81.25%,
    transparent 0%
  ) !important;
  background-size: 100% 41.25rpx;
  position: relative !important;
}
.sk-text-18-7500-412 {
  background-image: linear-gradient(
    transparent 18.75%,
    #eeeeee 0%,
    #eeeeee 81.25%,
    transparent 0%
  ) !important;
  background-size: 100% 41.25rpx;
  position: relative !important;
}
.sk-text-18-7500-65 {
  background-image: linear-gradient(
    transparent 18.75%,
    #eeeeee 0%,
    #eeeeee 81.25%,
    transparent 0%
  ) !important;
  background-size: 100% 41.25rpx;
  position: relative !important;
}
.sk-text-18-7500-160 {
  background-image: linear-gradient(
    transparent 18.75%,
    #eeeeee 0%,
    #eeeeee 81.25%,
    transparent 0%
  ) !important;
  background-size: 100% 41.25rpx;
  position: relative !important;
}
.sk-text-18-7500-704 {
  background-image: linear-gradient(
    transparent 18.75%,
    #eeeeee 0%,
    #eeeeee 81.25%,
    transparent 0%
  ) !important;
  background-size: 100% 41.25rpx;
  position: relative !important;
}
.sk-text-0-0000-508 {
  background-image: linear-gradient(
    transparent 0%,
    #eeeeee 0%,
    #eeeeee 100%,
    transparent 0%
  ) !important;
  background-size: 100% 25.7813rpx;
  position: relative !important;
}
.sk-text-31-6667-371 {
  background-image: linear-gradient(
    transparent 31.6667%,
    #eeeeee 0%,
    #eeeeee 68.3333%,
    transparent 0%
  ) !important;
  background-size: 100% 70.3125rpx;
  position: relative !important;
}
.sk-text-31-6667-460 {
  background-image: linear-gradient(
    transparent 31.6667%,
    #eeeeee 0%,
    #eeeeee 68.3333%,
    transparent 0%
  ) !important;
  background-size: 100% 70.3125rpx;
  position: relative !important;
}
.sk-button {
  color: #efefef !important;
  background: #efefef !important;
  border: none !important;
  box-shadow: none !important;
}
.sk-image {
  background: #efefef !important;
}
.sk-pseudo::before,
.sk-pseudo::after {
  background: #efefef !important;
  background-image: none !important;
  color: transparent !important;
  border-color: transparent !important;
}
.sk-pseudo-rect::before,
.sk-pseudo-rect::after {
  border-radius: 0 !important;
}
.sk-pseudo-circle::before,
.sk-pseudo-circle::after {
  border-radius: 50% !important;
}
.sk-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: transparent;
}
</style>
